﻿namespace Sample.JQuery {
	using System;
	using System.Web.UI;

	public partial class TabsPage : Page {

		protected override void OnLoad(EventArgs e) {
			base.OnLoad(e);
			SelectFirstTab.Click += new EventHandler(SelectFirstTab_Click);
			SelectUpdatePanelTab.Click += new EventHandler(SelectUpdatePanelTab_Click);
		}

		private void SelectFirstTab_Click(object sender, EventArgs e) {
			Tabs.Select(0);
		}

		private void SelectUpdatePanelTab_Click(object sender, EventArgs e) {
			Tabs.Select(UpdatePanelTab);
		}

	}

}